public class Arr01 {
	public static void main(String[] args){
		double[] hens = {1.2,2.3,2.5,59,4.3};
		double totalWeight = 0.0;
		for(int i = 0; i < hens.length; i++){
			totalWeight += hens[i];
		}
		double avg = totalWeight / hens.length;
		System.out.println(avg);
	}
}